﻿namespace ACCOUNTING
{
    using ACCOUNTING.My;
    using Microsoft.VisualBasic.CompilerServices;
    using System;
    using System.Collections.Generic;
    using System.ComponentModel;
    using System.Diagnostics;
    using System.Drawing;
    using System.Runtime.CompilerServices;
    using System.Windows.Forms;

    [DesignerGenerated]
    public class Frm_CapNhatDienGiai : Form
    {
        private static List<WeakReference> __ENCList = new List<WeakReference>();
        [AccessedThroughProperty("CmdCancel")]
        private Button _CmdCancel;
        [AccessedThroughProperty("CmdOK")]
        private Button _CmdOK;
        [AccessedThroughProperty("TxtDienGiai")]
        private TextBox _TxtDienGiai;
        private IContainer components;
        private int mCol;
        private int mRow;

        public Frm_CapNhatDienGiai()
        {
            List<WeakReference> list = __ENCList;
            lock (list)
            {
                __ENCList.Add(new WeakReference(this));
            }
            this.mRow = 0;
            this.mCol = 0;
            this.InitializeComponent();
        }

        private void CmdOK_Click(object sender, EventArgs e)
        {
            MyProject.Forms.Frm_BaoGia.VSlist[this.mRow, this.mCol] = this.TxtDienGiai.Text;
            this.Close();
        }

        [DebuggerNonUserCode]
        protected override void Dispose(bool disposing)
        {
            try
            {
                if (disposing && (this.components != null))
                {
                    this.components.Dispose();
                }
            }
            finally
            {
                base.Dispose(disposing);
            }
        }

        [DebuggerStepThrough]
        private void InitializeComponent()
        {
            ComponentResourceManager manager = new ComponentResourceManager(typeof(Frm_CapNhatDienGiai));
            this.TxtDienGiai = new TextBox();
            this.CmdCancel = new Button();
            this.CmdOK = new Button();
            this.SuspendLayout();
            Point point = new Point(12, 12);
            this.TxtDienGiai.Location = point;
            this.TxtDienGiai.MaxLength = 0;
            this.TxtDienGiai.Multiline = true;
            this.TxtDienGiai.Name = "TxtDienGiai";
            Size size = new Size(0x1b4, 0xf5);
            this.TxtDienGiai.Size = size;
            this.TxtDienGiai.TabIndex = 0;
            this.CmdCancel.DialogResult = DialogResult.Cancel;
            this.CmdCancel.Image = (Image) manager.GetObject("CmdCancel.Image");
            this.CmdCancel.ImageAlign = ContentAlignment.MiddleLeft;
            point = new Point(360, 0x107);
            this.CmdCancel.Location = point;
            this.CmdCancel.Name = "CmdCancel";
            size = new Size(0x58, 0x18);
            this.CmdCancel.Size = size;
            this.CmdCancel.TabIndex = 2;
            this.CmdCancel.Text = "Th&o\x00e1t";
            this.CmdCancel.UseVisualStyleBackColor = true;
            this.CmdOK.Image = (Image) manager.GetObject("CmdOK.Image");
            this.CmdOK.ImageAlign = ContentAlignment.MiddleLeft;
            point = new Point(0x117, 0x107);
            this.CmdOK.Location = point;
            this.CmdOK.Name = "CmdOK";
            size = new Size(0x4f, 0x18);
            this.CmdOK.Size = size;
            this.CmdOK.TabIndex = 1;
            this.CmdOK.Text = "&Chọn";
            this.CmdOK.UseVisualStyleBackColor = true;
            SizeF ef = new SizeF(6f, 13f);
            this.AutoScaleDimensions = ef;
            this.AutoScaleMode = AutoScaleMode.Font;
            this.CancelButton = this.CmdCancel;
            size = new Size(0x1c9, 0x123);
            this.ClientSize = size;
            this.ControlBox = false;
            this.Controls.Add(this.CmdCancel);
            this.Controls.Add(this.CmdOK);
            this.Controls.Add(this.TxtDienGiai);
            this.FormBorderStyle = FormBorderStyle.FixedDialog;
            this.MaximizeBox = false;
            this.MinimizeBox = false;
            this.Name = "Frm_CapNhatDienGiai";
            this.StartPosition = FormStartPosition.CenterScreen;
            this.Text = "DIEN GIAI THONG SO HANG HOA";
            this.ResumeLayout(false);
            this.PerformLayout();
        }

        internal virtual Button CmdCancel
        {
            [DebuggerNonUserCode]
            get
            {
                return this._CmdCancel;
            }
            [MethodImpl(MethodImplOptions.Synchronized), DebuggerNonUserCode]
            set
            {
                this._CmdCancel = value;
            }
        }

        internal virtual Button CmdOK
        {
            [DebuggerNonUserCode]
            get
            {
                return this._CmdOK;
            }
            [MethodImpl(MethodImplOptions.Synchronized), DebuggerNonUserCode]
            set
            {
                EventHandler handler = new EventHandler(this.CmdOK_Click);
                if (this._CmdOK != null)
                {
                    this._CmdOK.Click -= handler;
                }
                this._CmdOK = value;
                if (this._CmdOK != null)
                {
                    this._CmdOK.Click += handler;
                }
            }
        }

        public int Col
        {
            get
            {
                return this.mCol;
            }
            set
            {
                this.mCol = value;
            }
        }

        public int Row
        {
            get
            {
                return this.mRow;
            }
            set
            {
                this.mRow = value;
            }
        }

        internal virtual TextBox TxtDienGiai
        {
            [DebuggerNonUserCode]
            get
            {
                return this._TxtDienGiai;
            }
            [MethodImpl(MethodImplOptions.Synchronized), DebuggerNonUserCode]
            set
            {
                this._TxtDienGiai = value;
            }
        }
    }
}

